package com.yuexin.project.dailymenu.everyday.domain;

import java.util.Arrays;
import java.util.Date;
import java.util.List;

import com.yuexin.project.system.notice.domain.Notice;
import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;
import com.yuexin.framework.web.domain.BaseEntity;

/**
 * 每日菜单表 daily_everyday_menu
 * 
 * @author yuexin
 * @date 2018-10-14
 */
public class EverydayMenu extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 每日菜单ID */
	private Integer dailyId;
	/** 日期 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JSONField(format="yyyy-MM-dd") 
	private Date dailyDate;
	/** 所选菜单ID */
	private Integer menuId;
	
	/** 状态（0正常 1停用） */
	private String status;
	
	/** 备注 */
	private String remark;
	
	private Integer[] dishIds;
	
	private String isBreakFast;
	
	private String isLunch;
	
	private String isDinner;

	/** 其他餐是否开餐 */
	private String isOther;
	
	private String isOpen;
	
	private String dinnerType;

	/** 点餐份数 */
	private Integer several;
	
	private List<DailyMenuDish> everyMenuDishs;

	public void setDailyId(Integer dailyId)
	{
		this.dailyId = dailyId;
	}

	public Integer getDailyId() 
	{
		return dailyId;
	}
	public void setDailyDate(Date dailyDate) 
	{
		this.dailyDate = dailyDate;
	}

	public Date getDailyDate() 
	{
		return dailyDate;
	}
	public void setMenuId(Integer menuId) 
	{
		this.menuId = menuId;
	}

	public Integer getMenuId() 
	{
		return menuId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer[] getDishIds() {
		return dishIds;
	}

	public void setDishIds(Integer[] dishIds) {
		this.dishIds = dishIds;
	}

	public String getIsBreakFast() {
		return isBreakFast;
	}

	public void setIsBreakFast(String isBreakFast) {
		this.isBreakFast = isBreakFast;
	}

	public String getIsLunch() {
		return isLunch;
	}

	public void setIsLunch(String isLunch) {
		this.isLunch = isLunch;
	}

	public String getIsDinner() {
		return isDinner;
	}

	public void setIsDinner(String isDinner) {
		this.isDinner = isDinner;
	}

	public String getIsOther() {
		return isOther;
	}

	public void setIsOther(String isOther) {
		this.isOther = isOther;
	}

	public String getIsOpen() {
		return isOpen;
	}

	public void setIsOpen(String isOpen) {
		this.isOpen = isOpen;
	}

	public String getDinnerType() {
		return dinnerType;
	}

	public void setDinnerType(String dinnerType) {
		this.dinnerType = dinnerType;
	}

	public List<DailyMenuDish> getEveryMenuDishs() {
		return everyMenuDishs;
	}

	public void setEveryMenuDishs(List<DailyMenuDish> everyMenuDishs) {
		this.everyMenuDishs = everyMenuDishs;
	}

	public Integer getSeveral() {
		return several;
	}

	public void setSeveral(Integer several) {
		this.several = several;
	}

	@Override
	public String toString() {
		return "EverydayMenu{" +
				"dailyId=" + dailyId +
				", dailyDate=" + dailyDate +
				", menuId=" + menuId +
				", status='" + status + '\'' +
				", remark='" + remark + '\'' +
				", dishIds=" + Arrays.toString(dishIds) +
				", isBreakFast='" + isBreakFast + '\'' +
				", isLunch='" + isLunch + '\'' +
				", isDinner='" + isDinner + '\'' +
				", isOther='" + isOther + '\'' +
				", isOpen='" + isOpen + '\'' +
				", dinnerType='" + dinnerType + '\'' +
				", everyMenuDishs=" + everyMenuDishs +
				", several=" + several +
				'}';
	}
}
	
